WeDevs\ERP\Accounting\API\PayPurchasesController S

Total Complexity 41
Dependencies 3
Dependents 0
Total lines 549
Lines of code 388
Logical lines of code 133
Comment lines 77
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
B
43 18 55
get_item_schema()
A
34 1 133
add_log()
S
52 6 24
get_pay_purchases()
S
49 5 31
register_routes()
S
44 1 62
update_pay_purchase()
S
54 3 19
create_pay_purchase()
S
56 2 18
get_pay_purchase()
S
59 2 13
prepare_item_for_response()
S
53 1 23
void_pay_purchase()
S
62 2 10